Skip to content

Make IcebergTableProvider::try_new public#2000

Draft
smaheshwar-pltr wants to merge 1 commit intoapache:mainfrom
smaheshwar-pltr:sm/public-table-provider
Draft

Make IcebergTableProvider::try_new public#2000
smaheshwar-pltr wants to merge 1 commit intoapache:mainfrom
smaheshwar-pltr:sm/public-table-provider

Conversation

@smaheshwar-pltr
Copy link

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

Are these changes tested?

/// Loads the table once to get the initial schema, then stores the catalog
/// reference for future metadata refreshes on each operation.
pub(crate) async fn try_new(
pub async fn try_new(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need it to be public?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I don't think this should be made public. It's more recommended to use IcebergCatalogProvider indirectly register table providers. But would love to hear the use case if any

@github-actions
Copy link
Contributor

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants